/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bllInterface;

import java.io.IOException;
import java.io.Serializable;
import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 *
 * @author Mrkupi
 */
public interface IRemoteBufferedOutputStream extends Remote, Serializable {
    
    void write(byte[] b) throws RemoteException, IOException;
    byte[] toArray() throws RemoteException;
    void flush() throws RemoteException, IOException;
}
